module.exports = {
  //host: 'https://clientapitest.dwilms.com/',
  host:'https://clientapi.dwilms.com/',
  tokenL: wx.getStorageSync("TOKEN"),
  drivers: {},
  company: {},
  captchaUrl: "",
  request: function (url, data, method, success, fail) {
    data = JSON.stringify(data)
    wx.request({
      url: this.host + url,
      method: method,
      data: data,
      header: {
        'content-type': 'application/json',
        "Authorization": "Bearer " + this.tokenL,
        "LoginType": 4
      },
      success: success,
      fail: fail
    })
  },
}